/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sa_prakt1.bl.services.impl.ejb;

import sa_prakt1.bl.entity.interfaces.Entry;
import sa_prakt1.bl.entity.interfaces.Forum;
import sa_prakt1.bl.entity.interfaces.Member;
import sa_prakt1.bl.services.interfaces.SamCommCreator;

/**
 *
 * @author Andreas
 */
public class EjbSamCommCreator implements SamCommCreator {

    private static EjbSamCommCreator instance;

    //Sichtbarkeit protected wegen singleton
    protected EjbSamCommCreator() {
    }

    /**
     * Singleton pattern
     * 
     * @return EjbCreator
     */
    public static EjbSamCommCreator getInstance() {
        if (instance == null) {
            instance = new EjbSamCommCreator();
        }
        return instance;
    }

    @Override
    public Forum createForum(String titel) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Member createMember(String nickname, String email, String passwort) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Entry createEntry(Member author, Forum forum, String title, String text) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
